package great.project.bean.factorybean;

import org.springframework.beans.factory.FactoryBean;

public class WangWuFactoryBean implements FactoryBean<WangWu> {

    @Override
    public WangWu getObject() throws Exception {
        return new WangWu(99, "王五");
    }

    @Override
    public Class<?> getObjectType() {
        return WangWu.class;
    }
}
